package com.mindainfo.groundwave.server.member.dao;

import com.mindainfo.groundwave.server.base.dao.IBaseDao;
import com.mindainfo.groundwave.server.member.bean.SysMember;
import com.mindainfo.groundwave.server.member.bean.SysPermission;
import com.mindainfo.groundwave.server.member.bean.SysRole;

import java.util.List;

/**
 * Created by MD-01 on 2017/5/15.
 */
public interface IMemberDao extends IBaseDao<SysMember> {

    /**
     * 根据用户名查找
     * @param username
     * @return
     */
    SysMember queryByUsername(String username);

    List<SysMember> queryList(int start,int num,String key,List<Integer> deptIds);

    int queryListCount(String key,List<Integer> deptIds);
}
